<div><b>Add questions to Test: {$testtitle}</b></div>
<br />
<div>
<form name="frm_addqbanktotest" action="" method="post">
<table width="100%" border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse">
    <tr>
	    <td width="10"></td>
        <td width="10">N.</td>
    	<td align="center">Question</td>
        <td align="center">ModeAnswer</td>
        <td align="center">Answer</td>
        <td align="center">Mark</td>
        <td align="center">Status</td>		
       
    </tr>
    {section name="question" loop=$list_questions_bank}
    <tr>
        <td align="center"><input type="checkbox" name="questionbankid[]" value="{$list_questions_bank[question].QuestionBankID}" /></td>
        <td align="center">{$smarty.section.question.iteration}</td>
        <td>{$list_questions_bank[question].Question}</td>
        <td>{$list_questions_bank[question].ModeAnswer}</td>
        <td>{$list_questions_bank[question].Answer}</td>
        <td>{$list_questions_bank[question].Mark}</td>
        <td>{$list_questions_bank[question].Status}</td>       
     </tr>
     {/section}
</table>
<div>&nbsp;&nbsp;<input type="submit" name="btn_submit" value="Add" /></div>
<input type="hidden" name="testid" value="{$tid}" />
<input type="hidden" name="op" value="{$op}" />
<input type="hidden" name="m" value="{$m}" />
<input type="hidden" name="u" value="{$u}" />
</form>
</div>